package com.demo.dao;

import com.demo.bean.Emp;

import java.util.List;

/**
 * @author : mafan
 * @date : 2021-02-03 14:38
 **/
public interface EmpDao {


    List<Emp> findEmp(String ename);

    boolean saveEmp(Emp emp);

    List<Emp> findAll(Emp emp);

    Integer deleteEmp(Integer empno);

    boolean updateEmp(Emp emp);
}
